﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;
using System.ComponentModel.DataAnnotations;


namespace KingRoad.EPM.SafetyManagementEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/2/13 14:46:09
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_SafeSupervision", new string[] { "Ss_ID" })]
    public class ScmSafesupervisionInfo : BaseEntity
    {
        public ScmSafesupervisionInfo()
        {

        }
        
        
        private string _ssId;
        /// <summary>
        /// 安全监督ID
        /// </summary>
        [ColumnMap("Ss_ID", System.Data.DbType.String)]
        public string Ss_ID
        {
            get {return _ssId;}
            set
            {
                if (object.Equals(this._ssId, value) != true)
                {
                    this._ssId = value;
                    this.RaisePropertyChanged("Ss_ID");
                }
            }
        }
        
        
        private int _ssOperateuserid;
        /// <summary>
        /// 操作人ID
        /// </summary>
        [ColumnMap("Ss_OperateUserID", System.Data.DbType.Int32)]
        public int Ss_OperateUserID
        {
            get {return _ssOperateuserid;}
            set
            {
                if (object.Equals(this._ssOperateuserid, value) != true)
                {
                    this._ssOperateuserid = value;
                    this.RaisePropertyChanged("Ss_OperateUserID");
                }
            }
        }
        
        
        private string _ssOperateusername;
        /// <summary>
        /// 操作人名称
        /// </summary>
        [ColumnMap("Ss_OperateUserName", System.Data.DbType.String)]
        public string Ss_OperateUserName
        {
            get {return _ssOperateusername;}
            set
            {
                if (object.Equals(this._ssOperateusername, value) != true)
                {
                    this._ssOperateusername = value;
                    this.RaisePropertyChanged("Ss_OperateUserName");
                }
            }
        }
        
        
        private DateTime _ssOperatetime;
        /// <summary>
        /// 操作时间
        /// </summary>
        [ColumnMap("Ss_OperateTime", System.Data.DbType.DateTime)]
        public DateTime Ss_OperateTime
        {
            get {return _ssOperatetime;}
            set
            {
                if (object.Equals(this._ssOperatetime, value) != true)
                {
                    this._ssOperatetime = value;
                    this.RaisePropertyChanged("Ss_OperateTime");
                }
            }
        }
        
        
        private DateTime? _ssDate;
        /// <summary>
        /// 日期
        /// </summary>
        [ExcelImportValidation("日期", 7, false, "请填写日期", "日期格式不正确")]
        [ColumnMap("Ss_Date", System.Data.DbType.DateTime)]
        public DateTime? Ss_Date
        {
            get {return _ssDate;}
            set
            {
                if (object.Equals(this._ssDate, value) != true)
                {
                    this._ssDate = value;
                    this.RaisePropertyChanged("Ss_Date");
                }
            }
        }
        
        
        private string _ssSection;
        /// <summary>
        /// 存在问题标段
        /// </summary>
         [Required(ErrorMessage = "*")]
        [ExcelImportValidation("存在问题标段", 1, false, "存在问题标段不能为空值", "")]
        [ColumnMap("Ss_Section", System.Data.DbType.String)]
        public string Ss_Section
        {
            get {return _ssSection;}
            set
            {
                if (object.Equals(this._ssSection, value) != true)
                {
                    this._ssSection = value;
                    this.RaisePropertyChanged("Ss_Section");
                }
            }
        }
        
        
        private string _ssDocumentnumb;
        /// <summary>
        /// 通报文号
        /// </summary>
        [ExcelImportValidation("通报文号", 2)]
        [ColumnMap("Ss_DocumentNumb", System.Data.DbType.String)]
        public string Ss_DocumentNumb
        {
            get {return _ssDocumentnumb;}
            set
            {
                if (object.Equals(this._ssDocumentnumb, value) != true)
                {
                    this._ssDocumentnumb = value;
                    this.RaisePropertyChanged("Ss_DocumentNumb");
                }
            }
        }
        
        
        private string _ssCorrectcharge;
        /// <summary>
        /// 标段整改责任人
        /// </summary>
        [ExcelImportValidation("标段整改责任人", 4)]
        [ColumnMap("Ss_CorrectCharge", System.Data.DbType.String)]
        public string Ss_CorrectCharge
        {
            get {return _ssCorrectcharge;}
            set
            {
                if (object.Equals(this._ssCorrectcharge, value) != true)
                {
                    this._ssCorrectcharge = value;
                    this.RaisePropertyChanged("Ss_CorrectCharge");
                }
            }
        }
        
        
        private string _ssSupervise;
        /// <summary>
        /// 督办人
        /// </summary>
        [ExcelImportValidation("督办人", 5)]
        [ColumnMap("Ss_Supervise", System.Data.DbType.String)]
        public string Ss_Supervise
        {
            get {return _ssSupervise;}
            set
            {
                if (object.Equals(this._ssSupervise, value) != true)
                {
                    this._ssSupervise = value;
                    this.RaisePropertyChanged("Ss_Supervise");
                }
            }
        }
        
        
        private string _ssProblem;
        /// <summary>
        /// 存在的主要问题
        /// </summary>
        [ExcelImportValidation("存在的主要问题", 3)]
        [ColumnMap("Ss_Problem", System.Data.DbType.String)]
        public string Ss_Problem
        {
            get {return _ssProblem;}
            set
            {
                if (object.Equals(this._ssProblem, value) != true)
                {
                    this._ssProblem = value;
                    this.RaisePropertyChanged("Ss_Problem");
                }
            }
        }
        
        
        private string _ssCorrectreply;
        /// <summary>
        /// 整改及回复情况
        /// </summary>
       [ExcelImportValidation("整改及回复情况", 6)]
        [ColumnMap("Ss_CorrectReply", System.Data.DbType.String)]
        public string Ss_CorrectReply
        {
            get {return _ssCorrectreply;}
            set
            {
                if (object.Equals(this._ssCorrectreply, value) != true)
                {
                    this._ssCorrectreply = value;
                    this.RaisePropertyChanged("Ss_CorrectReply");
                }
            }
        }
        
        
        private string _ssRemark;
        /// <summary>
        /// 备注
        /// </summary>
       [ExcelImportValidation("备注", 8)]
        [ColumnMap("Ss_Remark", System.Data.DbType.String)]
        public string Ss_Remark
        {
            get {return _ssRemark;}
            set
            {
                if (object.Equals(this._ssRemark, value) != true)
                {
                    this._ssRemark = value;
                    this.RaisePropertyChanged("Ss_Remark");
                }
            }
        }
        
        
    }
}



